package com.ln.design.mode.singleton;

/**
 * @Description 饿汉2
 *
 * @Author zhangj
 * @Date 2022/12/1 23:47
 */
public class Singleton {

    private static final Singleton instance = new Singleton();

    private Singleton() {
    }

    public static Singleton getInstance() {
        return instance;
    }

}
